package com.ruoyi.wb.mapper;

import com.ruoyi.wb.domain.WbPlanClassifyYearContentThree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 维保年度类三级Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-15
 */
public interface WbPlanClassifyYearContentThreeMapper 
{
    /**
     * 查询维保年度类三级
     * 
     * @param classifyContentId 维保年度类三级主键
     * @return 维保年度类三级
     */
    public WbPlanClassifyYearContentThree selectWbPlanClassifyYearContentThreeByClassifyContentId(Long classifyContentId);

    /**
     * 查询维保年度类三级列表
     * 
     * @param wbPlanClassifyYearContentThree 维保年度类三级
     * @return 维保年度类三级集合
     */
    public List<WbPlanClassifyYearContentThree> selectWbPlanClassifyYearContentThreeList(WbPlanClassifyYearContentThree wbPlanClassifyYearContentThree);

    /**
     * 新增维保年度类三级
     * 
     * @param wbPlanClassifyYearContentThree 维保年度类三级
     * @return 结果
     */
    public int insertWbPlanClassifyYearContentThree(WbPlanClassifyYearContentThree wbPlanClassifyYearContentThree);

    /**
     * 修改维保年度类三级
     * 
     * @param wbPlanClassifyYearContentThree 维保年度类三级
     * @return 结果
     */
    public int updateWbPlanClassifyYearContentThree(WbPlanClassifyYearContentThree wbPlanClassifyYearContentThree);

    /**
     * 删除维保年度类三级
     * 
     * @param classifyContentId 维保年度类三级主键
     * @return 结果
     */
    public int deleteWbPlanClassifyYearContentThreeByClassifyContentId(Long classifyContentId);

    /**
     * 批量删除维保年度类三级
     * 
     * @param classifyContentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWbPlanClassifyYearContentThreeByClassifyContentIds(Long[] classifyContentIds);

    /**
     * 根据二级目录ids查询三级目录
     * @param classifyYearContentIds
     * @return
     */
    List<WbPlanClassifyYearContentThree> selectWbPlanClassifyYearContentThreeByClassifyYearContentIds(@Param("classifyYearContentIds") List<Long> classifyYearContentIds);

    /**
     * 批量新增维保年度类三级
     */
    int batchAdd(@Param("wbPlanClassifyYearContentThrees") List<WbPlanClassifyYearContentThree> wbPlanClassifyYearContentThrees);


    int batchEdit(@Param("wbPlanClassifyYearContentThrees") List<WbPlanClassifyYearContentThree> wbPlanClassifyYearContentThrees);

    List<WbPlanClassifyYearContentThree> selectWbPlanClassifyYearContentThreeListByClassifyYearContentIds(@Param("classifyYearContentIds") Long[] classifyYearContentIds);
}
